import React, { Component } from "react";
import SearchComponent from "../../../../components/SearchComponent";
import ButtonFormModelComponent from "../../../../components/ButtonFormModelComponent";
import ColumnComponent from "../../../../components/ColumnComponent";

class departmentList extends Component {
    column = [
        {
            title: 'id',
            key: 'id',
            dataIndex: 'id'
        },
        {
            title: '部门名称',
            key: 'departmentName',
            dataIndex: 'departmentName',
            type: 'input'
        },
        {
            title: '部门成员',
            key: 'departmentMembers',
            dataIndex: 'departmentMembers',
            type: 'mutipleSelect'
        },
    ]
    data = []
    constructor(props: any) {
        super(props)


    }



    render(): React.ReactNode {
        return (
            <>
                <SearchComponent></SearchComponent>
                <ButtonFormModelComponent column={this.column} handleTitle = "新增部门"></ButtonFormModelComponent>
                <ColumnComponent column={this.column} data={this.data} />
            </>
        )
    }

}

export default departmentList